package io.sdl.common.sys.dao;

import io.sdl.common.dao.BaseDao;
import io.sdl.common.sys.entity.SdlInstitutionQaqEntity;
import io.sdl.common.utils.Query;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Dc 1211734836@qq.com
 * @since 1.0.0 2025-03-28
 */
@Mapper
public interface SdlInstitutionQaqDao extends BaseDao<SdlInstitutionQaqEntity> {

    List<SdlInstitutionQaqEntity> getQaqListByInstitutionId(@Param("institutionId") Long institutionId);


    //获取机构的资质
    List<SdlInstitutionQaqEntity> getManageByInstitutionId( Query query);


    //获取所有数据
    int getNum( Query query);

    //获取所有待审核的资质
    List<SdlInstitutionQaqEntity> getInstitutionQaqList(Map<String, Object> params);

    //提交审核
    int submitExamine(SdlInstitutionQaqEntity entity);
}